<template>
<uni-shadow-root class="demo-demo"><xr-scene>
 <xr-asset-load type="gltf" asset-id="damage-helmet" src="https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/damage-helmet/index.glb"></xr-asset-load>
 <xr-asset-load type="gltf" asset-id="miku" src="https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/miku.glb"></xr-asset-load>
 
 <xr-gltf node-id="damage-helmet" model="damage-helmet"></xr-gltf>
 <xr-gltf model="miku" position="-0.15 0.75 0" scale="0.07 0.07 0.07" rotation="0 180 0" anim-autoplay></xr-gltf>
 
 
 <xr-camera position="0 1.5 4" target="damage-helmet" background="skybox" clear-color="0.4 0.8 0.6 1" camera-orbit-control></xr-camera>
 
 <xr-light type="ambient" color="1 1 1" intensity="1"></xr-light>
 <xr-light type="directional" rotation="40 70 0" color="1 1 1" intensity="3" cast-shadow></xr-light>
 
 <xr-env env-data="xr-frame-team-workspace-day"></xr-env>
 

</xr-scene></uni-shadow-root>
</template>

<script>

global['__wxVueOptions'] = {components:{}}

global['__wxRoute'] = 'demo/demo'
// wxcomponents/demo/demo.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
export default global['__wxComponents']['demo/demo']
</script>
<style platform="mp-weixin">
/* wxcomponents/demo/demo.css */
</style>